package org.dromara.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.system.domain.XfCompanyOverallStatistics;
import org.dromara.system.domain.query.XfCompanyOverallStatisticsQuery;
import org.dromara.system.domain.vo.XfCompanyOverallStatisticsVo;

import java.util.List;

public interface XfCompanyOverallStatisticsMapper extends BaseMapperPlus<XfCompanyOverallStatistics, XfCompanyOverallStatisticsVo> {
    /**
     * 查询企业综合评分统计列表
     *
     * @param query 查询条件
     * @return 企业综合评分统计列表
     */
    List<XfCompanyOverallStatisticsVo> queryList(XfCompanyOverallStatisticsQuery query);

    /**
     * 分页查询企业综合评分统计列表
     *
     * @param page 分页对象
     * @param queryWrapper 查询条件
     * @return 企业综合评分统计分页列表
     */
    Page<XfCompanyOverallStatisticsVo> selectPageXfCompanyOverallStatisticsList(@Param("page") Page<XfCompanyOverallStatistics> page, @Param(Constants.WRAPPER) Wrapper<XfCompanyOverallStatistics> queryWrapper);
}